package com.example.ordersystem.tool;

public class SendSMS {
    public static String sendSMS(String tel) {

        System.out.println("**********************");
        System.out.println(tel);
        System.out.println("**********************");

        /*生成一个六位的随机数*/
        String code = String.valueOf((int) ((Math.random() * 9 + 1) * 100000));
        return code;
    }
}
